import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
const vm = createApp(App)
import eventBus from 'vue3-bus'
vm.config.globalProperties.$eventBus = eventBus
/**====================公共js文件============== */
import comMethods from "@/utils/comMethods.js";
vm.config.globalProperties.$comMethods = comMethods
/**==========引入插件============= */
import ElementPlus from 'element-plus'
import 'element-plus/lib/theme-chalk/index.css';
/**=================引入静态资源========================= */
// 引入重置样式
import Reset from '@/assets/css/reset.css';
// 引入字体图标样式
import Font from '@/assets/font/iconfont.css';
// 自写公共组件
import Common from './Common/common.js'
vm.use(store).use(router).use(ElementPlus).use(Common).mount('#app')
